import { StyleSheet, Dimensions, Platform } from 'react-native';

var windowWidth = Dimensions.get('window').width;
var windowHeight = Dimensions.get('window').height;

const styles = StyleSheet.create({
	container: {
        flex: 1,
		backgroundColor: '#ffffff',
		// height: windowHeight,
	},

    headContainer: {
        height: 111,
        overflow: 'hidden',
        backgroundColor: '#EA5404',
        // position: 'absolute',
    },
    scrollContainer:{
        flex: 1,
        marginTop: -111,
        backgroundColor: 'transparent',
    },
    headBg:{
        position: 'absolute',
        bottom: 0,
        resizeMode: 'cover',
        left: (windowWidth - 420) / 2,

    },
    headText:{
        textAlign: 'center',
        fontSize: 18,
        color: "#555555",
        marginTop: 9,
    },
    headMoneyText:{
        textAlign: 'center',
        fontSize: 36,
        color: "#EA5404",
        marginTop: 4,
    },
    headBtnC:{
        flex:1,
        justifyContent: 'center',
        alignItems: 'center'
    },
    addWithdraw:{
        // flex: 1,
        height: 44,
        borderRadius: 2,
        // marginLeft: 15,
        width: windowWidth - 30,
        marginTop: 35,
        flexDirection: 'row',
        backgroundColor: "#EA5404",
        justifyContent: 'center',
        alignItems: 'center'
    },
    addWithdrawImage:{
        marginRight: 7.5
    },
    addWithdrawBtnText:{
        // marginLeft: 15,
        fontSize: 15,
        color: "#ffffff"
    },
    addWithdrawInfoText:{
        marginTop: 30,
        fontSize: 15,
        color: "#5DBAFE"
    },

	closeIcon:{
		position: 'absolute',
		right: 7.5,
		top: 7.5,
		padding:7.5,
	},

	dialogContainer:{
		backgroundColor: '#fff',
		height: 315,
	},

	formItem:{
		flex:1,
		paddingLeft: 15,
		paddingRight: 15,
		marginTop: 45,
		flexDirection: 'row',
		justifyContent: 'center',
		// height: 25,
		backgroundColor: '#F3F3F3',
	},
	leftText:{
		color:'#7B7B7B',
		fontSize: 14,
	},
	rightText:{
		color: '#7B7B7B',
		fontWeight: 'bold',
		fontSize: 14,
	},
	formItemFlex: {
		flex: 1,
		alignItems: 'flex-start',
		justifyContent: 'center',
	},
	payText:{
		marginLeft:15,
		fontSize: 14,
		color: '#7B7B7B',
	},

	feeText:{
		marginLeft:15,
		marginTop: 5,
		fontSize: 12,
		color: '#7B7B7B',
	},

	subStyle:{
        color: '#D8D8D8',
        fontSize: 30,
		// height: 50,
    },
    inputStyle:{
        color: '#555555',
		...Platform.select({
			android:{
				fontSize: 23,
			},
			ios:{
				fontSize: 23,
			}
		}),
        flex:1,
		// height: 50,
		// lineHeight: 50,
    },

    inputContent:{
        marginTop: 23,
        flexDirection: 'row',
		alignItems: 'center',
		justifyContent: 'center',
        borderBottomWidth: StyleSheet.hairlineWidth,
        borderColor: '#DEDEDE',
        marginLeft: 15,
        marginRight: 15,
		// justifyContent: 'center',

    },

	submitBtnContainer:{
        flex: 1,
		marginLeft:15,
		marginRight: 15,
		marginBottom: 26,
		marginTop: 35,
		borderRadius:2,
        backgroundColor: '#EA5404',
    },
    submitBtn:{
        // height: 44,
        flex: 1,
        justifyContent: 'center',
        alignItems: 'center',
    },
    submitBtnText:{
        color: '#ffffff',
        fontSize: 15,
    },
	dialogTitle: {
        height: 45,
        borderBottomWidth: StyleSheet.hairlineWidth,
        justifyContent: 'center',
        borderBottomColor: '#ddd',
    },
    dialogTitleText: {
        textAlign: 'center',
        fontSize: 15,
        color: '#565656',
        fontWeight: 'bold',
    },
    canWithdrawMoney:{
        borderWidth:0.5,
        borderColor: '#EA5404',
        backgroundColor:'#FFFCED',
        height:25,
        borderRadius:25,
        flexDirection:'row',
        alignItems:'center',
        justifyContent:'center',
        marginTop: 10,
        width:175
    },
    shopWithdrawTipsContainer:{
        flex:1,
        flexDirection: 'column',
        position:'absolute',
        bottom: 15,
        marginLeft: 15,
        marginRight:15,
        backgroundColor:'#FFFCED',
        paddingLeft: 15,
        paddingRight:15,
        paddingTop: 10,
        paddingBottom: 10,
        alignSelf: 'center',
        fontSize:13,
        color:'#7B7B7B'
    }
});

export default styles;
